/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.bo;

import org.ipti.br.tag.dao.ActorHolidayCalendarFacade;
import org.ipti.br.tag.entity.ActorHolidayCalendar;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.ejb.Stateless;

/**
 *
 * @author root
 */
@Stateless
public class ActorHolidayCalendarBO implements Serializable {

    @Inject
    private ActorHolidayCalendarFacade actorHolidayCalendarDAO;

    public ActorHolidayCalendarFacade getActorHolidayCalendarDAO() {
        return actorHolidayCalendarDAO;
    }

    public void create(ActorHolidayCalendar actorHolidayCalendar) {
        getActorHolidayCalendarDAO().create(actorHolidayCalendar);
    }

    public void edit(ActorHolidayCalendar actorHolidayCalendar) {
        getActorHolidayCalendarDAO().edit(actorHolidayCalendar);
    }

    public void remove(ActorHolidayCalendar actorHolidayCalendar) {
        getActorHolidayCalendarDAO().remove(actorHolidayCalendar);
    }

    public ActorHolidayCalendar find(Object id) {
        return getActorHolidayCalendarDAO().find(id);
    }

    public List<ActorHolidayCalendar> findAll() {
        return getActorHolidayCalendarDAO().findAll();
    }

    public void editForSynchronization(ActorHolidayCalendar actorHolidayCalendar) {
        getActorHolidayCalendarDAO().editForSynchronization(actorHolidayCalendar);
    }
}
